Other way to build up the database