update images to use X_i, and add a property to T