corrected function name and function call