Untested stack implementation