example: press esc to exit program