created a Win class