added radio button functions