updated the connector and buffer methods