database implements