finished newest idea for isPair populate method, no testing yet