popup function add. but It is not finished.