add rtype validator