Created method for connection variables