Atomic ops initial implementation