added Swing GUI