added a getMove() function to actions.