updated code for the radio values class