logic changed.