Trying atomic transaction