change function go global