diff --git a/app/models/learning_object.rb b/app/models/learning_object.rb
index 5af6a084e9710237594105969c2f6407591fae62..a6ec12fcc3b992ee11fa33870fd68f434efffd59 100644
--- a/app/models/learning_object.rb
+++ b/app/models/learning_object.rb
@@ -131,4 +131,19 @@ class LearningObject < ActiveRecord::Base
   def user_category
     publisher.try('user_category')
   end
+
+  #period is either :week or :month
+  def self.highlights(period, limit)
+    if period == :week
+      los = LearningObject.this_week
+    elsif period == :month
+      los = LearningObject.this_month
+    else
+      los = LearningObject.all
+    end
+
+    los.order(score: :desc)
+    highlights = los.first(limit)
+    return highlights
+  end
 end