Just adding some log statements to trace execution