Additional database functionality