Added ability to store rating