removed unused terminals