add map and bar connect