Heavy discounts help make for gains in October