 import UIKit
 
 func add(renderer: Renderer) {
-    
+    RenderViewController.shared.append(renderer: renderer)
+}
+
+func testMakeRenderer() {
+    add(renderer: makeRenderer())
+}
+
+func makeRenderer() -> LineGraphRenderer {
+    return LineGraphRenderer(points: DummyData.points1())
 }
 
 private class RenderTableViewCell: UITableViewCell {

class RenderViewController: UITableViewController {


    private let CellIdentifier = "Cell"
    private var renderers: [Renderer] = []
    


    override func viewDidLoad() {
        super.viewDidLoad()
        
        RenderViewController.shared = self

        func makeRenderer() -> LineGraphRenderer {
            return LineGraphRenderer(points: DummyData.points1())
        }
        
        tableView.contentInset = .zero
        tableView.separatorStyle = .none
        
        tableView.register(RenderTableViewCell.self, forCellReuseIdentifier: CellIdentifier)
        
        
        // test start
        
        //for _ in 0...20 {
        //    testMakeRenderer()
        //}
        
        // test end
    }
    
    func append(renderer: Renderer) {
        self.renderers.append(renderer)
        self.tableView.insertRows(at: [IndexPath(row: renderers.count, section: 0)], with: .automatic)
    }

    override func viewDidLayoutSubviews() {
