Added debug prints
Added debug prints