added more ttt functions