changed period2 to be 4 groups