added wander behaviour