tid up get_parser method
refactor "parse_sequence" method