updated last section in Lab 7