added db setup