Moves rewrite flush to end of method