attempting to fix the threading problem: threads wont instantiate