Adding Static method to the model class