documented the method