windows working example