added wandering behavior to wanderer