added some more debugs