more flexibility for rmr.str