created PairsOfTargetSum interface