Working parse_line