add auto-complete and popup