finishing the program