Economies with atoms