Added information of subject to each group in model