external variable stuff... avoid global variables at all costs!