addedd logging demo