@RequestMapping(value = "/trending", method = RequestMethod.GET)
  public ResponseEntity<ArrayList<Trending>> getTrending() {

    List<User> userList = userRepository.findAll();
    List<Occupation> occupationList = occupationRepository.findAll();

    ArrayList<Trending> trending = ClusterUtils.getTrendingOccupations(userList, occupationList);
    Collections.sort(trending);

    return new ResponseEntity<>(trending, HttpStatus.OK);
  }