Modified animation function calls a bit