I will implement the version that takes fractions. Another good hint. :)