refactored
popupGenerator
Merge remote-tracking branch 'origin/master'