correct usage of atomic