Using generate_numeric_field function