adding phases collection and test