get opt val