need to debug tf