added palin_3.c