add custom proper pair function