enabling threads by default