remove unneeded variables
use parameters to filter results
Hide empty rows from html output