in a grinder put the chopped onions and rest of the ingredients given in the step for grinding