merge td setup from 3.html