Corrected function call