Hartle's sample app from windows