start to build local database