update final.c after presentation