add a little logging