During the European Middle Ages, guilds were
created to
(1) obtain better working conditions in factories
(2) standardize goods and prices
(3) regulate the money supply
(4) increase competition