added standard logging