making sample form more generic