DS: almost finished database