rephased design section to be non-sql specific