Happy Friday!

I have a somewhat newbie question for the community here and couldn't find a previous answer. I don't necessarily have enough code to create a package yet, but I wanted to store some helper methods on my collection that can be re-used everywhere and also re-use the "Words" collection namespace. I'm storing the client side in my lib folder. When I do this, am I doing anything weird to Mongo DB? From what I understand, Words initializes the Mongo collection but the actual variable is just a regular JS variable that you can add methods and properties to - the Mongo side of things can only be accessed via your .find(), .insert(), etc. methods. Is this accurate? And also generally, in general is this a good practice?

```
Words = new Mongo.Collection ('words');
Words.state = {};

Words.state.shuffle = function ( ) {
    return _.shuffle( Words.find().fetch() );
};
//find id of current set

Words.state.indexOf = function ( id ) {
    var i;
    var arr = Words.state.currentSet;
    for ( i = 0; i < arr.length ; i++ ) {
        if (arr[i]._id === id ) return i;
    }
}; 

```