Added allReverseSubs function