tweaked the wandering behavior