updated with more of the idb spec