this is the code running on the windows 7