making the move method take strings rather than objects