add mordor's atomic implementation