add initial support for fractions