Changed private variable names in sample program.