modified other examples for windows