Improved idb