First implementation of 3 zone detection