new way to build results table