add tuple assignment for pair