code formatting
import organization
no need for sys.exit(1) in except block