added ted controller. and ted5