Added more basic animation code