update with Windows compatibility