In Trg Svetega Ahacija - the centre of town in the Middle Ages - the large 18th-century building on the north side is the Magazin, a granary and warehouse where the miners, who were paid in food as well as in cash, kept their stores.