display value method