threaded resolution
Merge pull request #24 from marqh/optimising

threaded resolution