very shaky incorporation of popups...