further db common work