gen
added connect