Added connect functions