Using exceptions instead of images