first part for finalizing semester