second order analysis