the main function of the market square was commerce