add hint and key search