bah
ewriting the walk_program fcn