Added TEC stuff