create and set up proj2 with threads