correct code in place for radiobuttons