added some debug lines to make debugging easier