added auto-pairs