main in popControl