readded bitmask, errorreporting and system classes