adding auto-complete and popup