optimized wrapper class for gtsrb