removed som prints from parse() so it does what the assigment said