changed threads to 6