5-8 Handling radio button groups
fixed version of 5-8