Added minor logging