adding connection modified v3