style: declare var at top