variable created that calculates the total volume