stability analysis