trying to port to windows