first try of animation classes