added group by rendering