added Locality class