jquery plugin doesn't recognize calling parameters
<p>I've created a plugin and I have my defaults set but when I change the parameters in the calling script, they are not reflected, the defaults are always taking precedence. What am i missing here?</p>

<p>calling script in my .html file</p>

<pre><code>$('.inputBox').validate(function() {
    rounded: true
});
</code></pre>

<p>Stripped down plugin. Even though i'm setting rounded to true in the first snippet, it's always false when i log it to the console in firebug. Why is this?</p>

<pre><code>(function($) {
    $.fn.validate = function(options) {

    var 
        defaults = {
            rounded: false
        },
    settings = $.extend({}, defaults, options);

        $(this).each(function(index) {
            if(settings.rounded) {
            $(this).addClass('roundedMsg'); 
        }
    }); 
    return this;
    };  
})(jQuery);
</code></pre>
