the parameters most be two pair