get_radius use global vars