add search by id method