add function to collect all form values