added code for radius setting