modify entity and move method