maha | made generator to determine the filed types