Use autopair instead of my own one