worked on double pendulum