work on the wpf client