finished commenting and writing test program