moved functionality to tft