import qsearch() so the quantity checking works