now use try, except. looks better