all codes for assignment #finish