got the form basically working... just need to fix bugs