updated c-skeleton