Trying to port it to windows