add radio input, fix some docblocks