added functions to move
added functions to move 2