got the grand total working