add nice logging