Add ripple code