putting in hooks to animate