Remove global function