added walk method