fix so that tags for random can be empty, then use demand instead