corrected function description