updated example to show value as well