handle sytax errors. Don't catch all exceptions.