add connection.type