the carrying out of the functions react to search by id