documenting, changed a function name