extract grade as table using terminal-table