updated group_min method and some css