what about 'unless exit_program do' to enhance readability?