completed moving ui form data to new struct.