database early implementation