first version of logger added.