pair support for the parser