implemented addition of table items while searching