Constructing and Modifying Compound Data and Variables