Compiles and runs, but time spans need to be handled better.