Modified flopAtomic.c