moves the method