added list and indices.c