move method definition