added connection and check it