making sure that preferences are good.