create custom field environment, ref #237