finished part one (RCAgent).