terminals into directive