A cognitive approach to values