Made windows compatible