Working search and add in inventory