Added sample2.c