task run time, ui and func