corrected function name (spelling)