adding helpful logging to indicate what is going on