Corrected function documention