references and inline in Atom class. Code runs faster than ever