Completed code in Search By title