add a validator for radius