implementing a simple windows desktop app