IsFraction method added