changed newMethod to method in accordance with updated Hopper.