         Alamofire.request(newsURL).responseJSON { (res) in
             if let result : Dictionary = res.value as? Dictionary<String,AnyObject>{
 //                let data = JSON(result)["data"] as Array!
-                for i in JSON(result)["data"]{
+                for i in JSON(result)["subjects"]{
                     self.messages .append(i.1)
                     self.tableView .reloadData()
                 }

        cell?.setSelected(false, animated: false)

        let data = self.messages[indexPath.row] as! JSON
        let url = data["display_url"]
        let title = data["title"]

        let vc = UIViewController.init()

        let cell = NewsTableViewCell.init(style: UITableViewCellStyle.default, reuseIdentifier:"cell")

        let d = self.messages[indexPath.row] as! JSON
        cell.textLabel?.text = d["title"].stringValue + d["genres"].description + d["rating"]["average"].stringValue
        cell.textLabel?.numberOfLines = 0

        let url = URL(string: d["images"]["medium"].stringValue)
        cell.imageV?.kf.setImage(with:url )

        return cell
