arrays are now thread safe