the modification for adding and displaying goal first is completed with lots of testing