added support for parsing dotted pairs