added clear function over TA