Add a bit more explanation to the global variables
Rename method to hopefully make it more easily understandable