don't wrap this in a function just let it be global