Adding Market class and display function