adding thead and tbody