added popwin requirement