separate GUI elements from TDA