fixed randomwalk but not works yet