lolli printing and parsing improvements