converted to ripple2 and fuburake