added global function go()