badges into a table