added global logger