add some basic logging