now using both approaches for ranked pattern presentation