Now supports different kinds of walks