changed prototype in Animation