insert operations now implemented as mode; todo: fix tests