global function name corrected