add logging

and here :P