Kepler observations of the variability in B-type stars