add preference functions