update for lesson 7