Added form binding and array populating