working on search by id and handling duplicates
working on search by id and handling duplicates