extended database functionality