demo atomic bit operations