operations are now thread-safe.