basic animationframe functionality
Works