added javadoc for move method