add c datastruct