This is the wpf practice