Adding addition rt primitive code.