Added moves and rotating functions