adding WPF GUI