put variable definitions up front