changed scope of "logger" property so it can be easly extended