added a little more logging output