added basic support for form data binding