from private to global function