improved the wandering for a bit