small changes needed for proper running of the program.