adding logger
add some more output