if an exception occurs return