add query unique interface