added fractionOperation()