corrected reference to function