adding Walk function to provide more flexibility