Removing debug print statements in animation