modified the code to add numbers in front of each name