add support for rib. closes #10