Basic moving code.