Updated example; hidden values are now ignored.