ENH: organize/define vars up front