Press ESC to close

stack implementation