move getRadioButtonForStats to functions