add control over the animation