windowsPassed variable added