new class
currecy term detection logic