adding data and form