add db initialization