added variables for X_0 / R_M