added  for to define marcos used for eqn