Simplified the call to the animate method.