removed global variables {thread,stripe}_data