the arrays are working on the form and the controller