all connections fn