add atom, exception, memory codes