Making term handler global