walks in main.c