ATom interface and inner class