got auto table formatting working