added some more debuging stuffs