better atomics examples