rearranged and added some more functionality with RNA_element