logging section added