add checking of currency