abstracting form data methods