added logger definition
ToDo: implement functions