moved logic of display out from seq to UIfxns