ref architecture