add functionality in helper to call the resource group index