added Michael's logging initialization