refactoring market table view.