switched hacky holder class to an atomic reference