cleaned up animate