added swing gui