added Closure in Animation