add code to initialize db