add rtypes for special functions