method append_data = fun c ->
    self#set_data c (self#append ())