added this->pos = pos; to walker.cpp