added second pendulum