added some extra debug prints, remove some that were not useful