WIP: trying to find equilibrium conditions.