assignment 6 GUI