adding a bit of debugging