bit of extra logging