implemented dynamic radio toggle buttons