add updated logger part 1