Added debug print statements again because I'm good at that