corrected function names