working on lessons controller to represent star rating