creat connections fully working