Adding search functionalities