updated lab #3 to get it to work again and match lab #2