add generate connector