Adding double pendulum boilerplate