create localities
fix require
fill localities