revising tabulation format code