commented redio function