added functionality from textbox controller to add to list