minor logic changed