gen pair key form