modified number of phases