make the master database