initial popup code