adding popups
deleting old template