Renamed stack function files to avoid naming conflict