abstracted a method call