added explicitly specifying reverse index to patternmodeller