generating walks