testing multiple phases