refinement 2 variables for ER connections