Make showValue a bit more compact