Removed debug print from animate function