made exercises on inheriting GUIs