remove atomicadd, back to the previous version