formatting
Fixed bug where the globals were not used for the second ... file