move sideWord method to Move class