Edited for Windows version