complete wander.c