move to WPF