code is ready for animation