Added moveUp and moveDown methods