correct the function call