move zone calculation to zonedetector