gen
Counts
Flags
getRefPosError
PosChecker