add untested sand rippling code