added connection class