adding elements to the form