added radio buttons; removed old code