Added group parameter in compute