first version of pendulum