added showValue option