add note about thread safety