refactored the mold movement.