through much pain, added a new field for units in the form
all actions implemented and working
some minor changes