Added debug print and altered input check to fit this ex