nit: The function documentation should be before the function, not inside