Corrected function syntax and call.