working on it added threads...