making the real database