mostly done need to find unassigned variables