added animationTimer