Move function fixed!