update readlines.c (not working)