Thread safety

got it