keep entry and exit points the same using a dumb stack