Corrected function syntax and defined name.