Dev on assembling database