revamped style to support toc