set up lcs.c