Updated/corrected function call