Added controller for text