Looking to have calculation based on total