currency implementation