started db implementation