change fraction method