changed IwithInI to Pair