'global' needed here to please Travis? (wild guess)