Update naive.c