Lovely iterator for the move method instead of double switches