fixed function documentation