move final vars to top of file.