simplify vanilla implementation
Merge branch 'master' of https://github.com/pemrouz/ripple-examples