Find Temp solution to threading variables