added double input search queries