init for rating system