Added atomic bool