Modification of the sample program.