Continue to_rname functino