everything before gazetteer done