a wrapper for jdb