updated support for radio buttons