updates method to be consistent with docs