part 3 compeletd for final exam