added definition of method header