works in ripple