closing open pair