driver.c - declare variables at top