add history c examples