convert stuff to IDB