use compiler atomics
do test once