added new function "Add a new field"
Made changes