Solved. Summing and extracting fractions