putting logging