return db on init