began work on a collector function to collect form data