Use helper function instead of global variable
With great hesitation, add my name to this plugin