     a function to build the card
   ###
   sequence(
-    card_bind(type, tag, take_=take(1)),
+    card_bind(type, tag, take_func=take_func),
+    with_div,
     build_card(addf)
   )
-
-
-card_images = sequence(
-  card_bind("image", "#images"),
-  (x) -> x.append("div").attr("class", "col s4"),
-  build_card(add_image)
-)
-
 
 
 update_data = (x) ->

)


prom = (x, i, a) ->
  view = new vega.View(vega.parse(x))
  prom_ = view.toImageURL('svg')


add_src = (x) ->
  new vega.View(vega.parse(x.datum()))
    .toImageURL("svg")

results_table(DATA)
add_card(add_image, "image", "#logo_image")(DATA)
add_card(add_youtube, "youtube", "#youtube")(DATA)
add_card_col(add_image, "image", id)(DATA)
add_card_col(add_chart, "line", take_data)(DATA)
