Core of the program