trimmed what was unnecessary for parsing