working on the core of RTac.