Carlos Vives died in 1872. Around this time the sales volume of corn meal, one of the hacienda's primary products, began to decline. Instead of demand for corn meal, world demand for Puerto Rican coffee, was starting to become as significant an export crop as sugar for which Vives could not afford the price of the lands. Envisioning a future for coffee production, in 1892 Carlos's eldest son (also named Salvador Vives like his grandfather) installed coffee depulping and bean husking machine in the old corn mill and ran them both using the original mill wheel. "Production of corn meal and coffee provided a diversified economic basis for the continued success of the hacienda."