spec for total amount label
refactored newStackedData() into three methods