add pair and indent