added rdf mode