command.c - declare variables at top