fixed function names in doco