move a method