Move function.