update helper method signature to match docs