AprioriInverse finally  working