Finalized the program