getValue example