basic logging infrastructure added