Implemented field editing and adding treatments