refactor to include to_rna