add fraction class