changed blocks around to more easily show full description (add later)
clarified variable names
changed global var to uppercase--which didn't work, so used $<uppercase>