added support for ot inserting duplicate keys. will always insert first key only