add text controller