adjustments to radio button functions