connect the pieces