added classes for factor span, reldir on AMT