simple binary for atomic and non-atomic add