add sample.c