How do i associate a number value with a text option as was done in the