starting to integrate groups and phases