took out ascii printing and fixed other bugs