add atomic class.