add principal table