extra logging to see what is going on