using TA'test and debugged