shortened list.c