Added hide search code