added walk() to replace main(). walkman is more modulized