add variables for both sides