add elements to form