connect a and b