corrected function type name