add tha to framework
add tha to header and footer