start of populating popup