lots of extra logging