forgot to make ref_atr accessible