code for graduation project