dealing with gap in phi