build the first database