restructure topMarkets for multiple markets