DRYed out the comp_move method