possibly got parse_lines to work and added parse_all method