Define and use fractional class fraction