started cleaning up animation code