workin on threads.