changed to visualization by group