correct to the class version

use the simplegui module