Adds var for exception