Added the basic functionality to the MOVE and SELECT modes