corrected spelling of function call