added Windows support