almost finished parsing