redefine findCurrency function