wrote moveMake function