add numbers for termination