messing about with WPF