> The error says nameError frame1. Perhaps you want to call this self.frame1 in the __init__ method. Then you will still be able to refer to it in the drawCanvas method by the same name. At the moment, you are getting an error because there is no variable called frame1 in the namespace of the drawCanvas method. Alex.