setting up vars in connector