add variables for cached connection