The remaining five notes of the chromatic scale (the black keys on a piano keyboard) were added gradually; the first being B which was flattened in certain modes to avoid the dissonant tritone interval.