corrected spelling of function name