Added sample with exceptions