adding support for recordsets