Sarah's code has now been updated so that the array list total is correctly generated as requested