typo in function referencing