Added walk function.