added end program to page 3