improved error messages for lesson 1