updated for lesson 40