1. wont crash while failing to load image
2. digit attributr check