for writing connectors