deleting unnecessary parts and adding daily total to the report table