End of frist part of the program