checkbit function added to EventReader