this is for esearch code trace