added TE_TASK and modified basics