adding a little extra logging