added some more debuging as usual