Improper use of atomic