setting things up to actually handle a move