Implemented safe zones.