typo in calling function