use quit instead of exit