added randomwalk simulation