minor SQL syntax error fixed
major updates to change how the table is populated or derived