refactoring
add Num and Fractional instance for RefReader
fix timer example