Added debug printlns to inverover