added atomics back