renamed to match documentation
Fixed array out of bounds exceptions introduced with the latest changes to Globals.py