main frame for parsers