setting up connectivity