added ryu functionality