matched up the mysql queries to the top status box as they showed different results