changed move method