added comment to explain what the program does