Added the 'stacked' and 'lowestCurrent' functions