Added some minor logging