adding class level logging