added JFrame for GUI