The price system and resource allocation