changes for option show and display grand total