simplified program to troubleshoot form issues