add methond will return object
myFraction removed and result object is added
result now storing returned value of add